<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ page import="com.fc.util.*" %>
<%@ page import="com.fc.model.*" %>
<%@ page import="com.fc.control.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head> 
 
		<title>store_update</title>
	</head>

	<body>

		<%
			request.setCharacterEncoding("utf-8");
			int id = ParamUtil.getInt(request,"id",0);
			Store store = new Store();
			store = StoreControl.getStoreInfo(id);
			//System.out.println("dsds");
		%>
		<form action="store_update_do.jsp?id=<%=id%>" name="form1" method="post">
			<table width="400" border="0" cellpadding="2" cellspacing="0">
				<tr>
					<td>店铺地址</td>
					<td><input type="text" name="place" value=<%=store.getPlace()%> ></td>
				</tr>
				
				<tr>
					<td>门票价格</td>
					<td><input type="text" name="price0"  value=<%=store.getPrice0()%> ></td>				
				</tr>
				
				<tr>
					<td>月卡价格</td>
					<td ><input type="text" name="price1" value=<%=store.getPrice1()%> ></td>				
				</tr>
				
				<tr>
					<td>年卡价格</td>
					<td><input type="text" name="price2" value=<%=store.getPrice2()%>></td>				
				</tr>
</table>
				
    					<input type="submit" name="button2" value="提交" onClick="check()" />
     					<input type="reset" name="Reset" value="重置" />

 			   
			
		</form>
	</body>
</html>
